CVE-2025-38342
software node: Correct a OOB check in software_node_get_reference_args()
Description
In the Linux kernel, the following vulnerability has been resolved: software node: Correct a OOB check in software_node_get_reference_args() software_node_get_reference_args() wants to get @index-th element, so the property value requires at least '(index + 1) * sizeof(*ref)' bytes but that can not be guaranteed by current OOB check, and may cause OOB for malformed property. Fix by using as OOB check '((index + 1) * sizeof(*ref) > prop->length)'.
INFO
Published Date :
July 10, 2025, 9:15 a.m.
Last Modified :
Dec. 16, 2025, 5:48 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | [email protected] |
Solution
- Update the Linux kernel to the latest stable version.
- Apply the specific patch addressing the OOB check.
- Recompile and deploy the updated kernel.
- Verify the fix by testing the affected functionality.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-38342.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-38342 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-38342
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-38342 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-38342 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Dec. 16, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H Added CWE CWE-125 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.186 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.142 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.95 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.15.4 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.35 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.0 up to (excluding) 5.10.239 Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* Added Reference Type kernel.org: https://git.kernel.org/stable/c/142acd739eb6f08c148a96ae8309256f1422ff4b Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/31e4e12e0e9609850cefd4b2e1adf782f56337d6 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/4b3383110b6df48e0ba5936af2cb68d5eb6bd43b Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/56ce76e8d406cc72b89aee7931df5cf3f18db49d Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/7af18e42bdefe1dba5bcb32555a4d524fd504939 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/9324127b07dde8529222dc19233aa57ec810856c Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/f9397cf7bfb680799fb8c7f717c8f756384c3280 Types: Patch Added Reference Type CVE: https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html Types: Third Party Advisory Added Reference Type CVE: https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html Types: Third Party Advisory -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 03, 2025
Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html Added Reference https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jul. 10, 2025
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: software node: Correct a OOB check in software_node_get_reference_args() software_node_get_reference_args() wants to get @index-th element, so the property value requires at least '(index + 1) * sizeof(*ref)' bytes but that can not be guaranteed by current OOB check, and may cause OOB for malformed property. Fix by using as OOB check '((index + 1) * sizeof(*ref) > prop->length)'. Added Reference https://git.kernel.org/stable/c/142acd739eb6f08c148a96ae8309256f1422ff4b Added Reference https://git.kernel.org/stable/c/31e4e12e0e9609850cefd4b2e1adf782f56337d6 Added Reference https://git.kernel.org/stable/c/4b3383110b6df48e0ba5936af2cb68d5eb6bd43b Added Reference https://git.kernel.org/stable/c/56ce76e8d406cc72b89aee7931df5cf3f18db49d Added Reference https://git.kernel.org/stable/c/7af18e42bdefe1dba5bcb32555a4d524fd504939 Added Reference https://git.kernel.org/stable/c/9324127b07dde8529222dc19233aa57ec810856c Added Reference https://git.kernel.org/stable/c/f9397cf7bfb680799fb8c7f717c8f756384c3280